package com.zhouhx.demo.service;


import org.springframework.stereotype.Component;
import com.alibaba.dubbo.common.logger.Logger;
import com.alibaba.dubbo.common.logger.LoggerFactory;
import com.alibaba.dubbo.config.annotation.Service;
import com.zhouhx.api.UserService;
import com.zhouhx.entity.User;

@Service
@Component
public class UserServiceImpl implements UserService {
	
	private static Logger logger = LoggerFactory.getLogger(UserServiceImpl.class);

	public User getUserInfo() {
		logger.info("正在开始调用Dubbo服务。。。。。");
		return new User("张三",15,"男");
	}
}
